package com.chenfan.ccp.plug.business.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

@Data
public class BusinessLog implements Serializable {
    private String serviceName;
    private String traceId;
    private String spaceId;
    private String ip;
    private String requestUrl;
    private String bizType;
    private String bizNo;
    private String actionName;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date operationTime;
    private String operator;
    /**
     * 租户id
     */
    private Long tenantId;
    private String reserve1;
    private String reserve2;
    private List<ActionLog.ActionData> actionList;
}
